﻿/// <summary>
/// 游戏的生命周期
/// </summary>
enum EGameLife : ushort
{
    /// <summary>
    /// 当进入游戏
    /// </summary>
    OnGameEnter = 1,

    /// <summary>
    /// 游戏开始
    /// </summary>
    OnGameStart,

    /// <summary>
    /// 游戏暂停
    /// </summary>
    OnGamePause,

    /// <summary>
    /// 游戏（暂停后）重新开始
    /// </summary>
    OnGameResume,

    /// <summary>
    /// 游戏结算
    /// </summary>
    OnGameSettlement,

    /// <summary>
    /// 游戏结束
    /// </summary>
    OnGameStop,

    /// <summary>
    /// 游戏重开
    /// </summary>
    OnGameRestart,

    /// <summary>
    /// 游戏道具
    /// </summary>
    OnUseProp,

    /// <summary>
    /// 当游戏退出
    /// </summary>
    OnGameExit,

    End,
}


/// <summary>
/// 整个App的生命周期
/// </summary>
enum ELifeCycle
{
    OnStart = EGameLife.End,
    OnFixedUpdate,
    OnUpdate,
}